import { getQueryParams } from '@/utils';
import http from './http';

export default {
  /**
   * @description: 商家首页显示
   * @param {type}
   * @return:
   */
  getHomeShowList() {
    return http.get(`/mall/web/backend/v1/homeshow`).exec();
  },
  getDaliy(params) {
    return http.get(`/mall/web/statistic/v1/daliy?${getQueryParams(params)}`).exec();
  },
};
